home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-readerstuff-
/
paul_bray
/
amos-stuff
/
paulslib.doc
< prev
next >
Wrap
Text File
|
1999-11-30
|
2KB
|
103 lines
Pauls.Lib v1.00 © 1999 by Paul Bray
Requires AMOS 1.36
To Install:
Copy 'Pauls.lib' To Your AMOS_SYSTEM drawer
Put ':Amos_System/Pauls.Lib' In Numer 13 Of The Extensions.
Commands:
NOTE: These Commands Are Mostly Only Faster
When The AMOS Programs Are Compiled.
var=Q Get Long(address)
Same As Leek But Faster.
Q Put Long value, address
Same As Loke But Faster.
var=Q Get Word(address)
Same As Deek But Faster.
Q Put Word value, address
Same As Doke But Faster.
var=Q Get Byte(address)
Same As Peek But Faster.
Q Put Byte value, address
Same As Poke But Faster.
address=Alloc(size, req)
Will Allocate Some Memory
To Free This Memory Use 'Dealloc'.
Dealloc(address, size)
Will Free Some Allocated Memory.
var=L Shl.l(value, BitsToShift)
Like LSL.L In Assembler.
var=L Shl.w(value, BitsToShift)
Like LSL.W In Assembler.
var=L Shl.b(value, BitsToShift)
Like LSL.B In Assembler.
var=L Shr.l(value, BitsToShift)
Like LSR.L In Assembler.
var=L Shr.w(value, BitsToShift)
Like LSR.W In Assembler.
var=L Shr.b(value, BitsToShift)
Like LSR.B In Assembler.
var=A Shl.l(value, BitsToShift)
Like ASL.L In Assembler.
var=A Shl.w(value, BitsToShift)
Like ASL.W In Assembler.
var=A Shl.b(value, BitsToShift)
Like ASL.B In Assembler.
var=A Shr.l(value, BitsToShift)
Like ASR.L In Assembler.
var=A Shr.w(value, BitsToShift)
Like ASR.W In Assembler.
var=A Shr.b(value, BitsToShift)
Like ASR.B In Assembler.
var=Div(a, b)
(Requires 68020+)
Will Divide 'a' by 'b'.
var=Mul(a, b)
(Requires 68020+)
Will Multiply 'a' by 'b'.